//
//  ReportDeviceAlarmListModel.h
//  efairy
//
//  Created by 李锋 on 2019/3/14.
//  Copyright © 2019年 East. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YYModel.h"

NS_ASSUME_NONNULL_BEGIN



@interface DeviceStatisticsModel : NSObject
@property (nonatomic, strong) NSString *efairydevice_device_type;
@property (nonatomic, strong) NSString *efairydevice_device_type_id;
@property (nonatomic, strong) NSString *total_alarm_devices;
@property (nonatomic, strong) NSString *total_devices;
@property (nonatomic, strong) NSString *total_early_warning_devices;
@property (nonatomic, strong) NSString *total_trouble_devices;
@end

@interface ReportDeviceListModel : NSObject
@property (nonatomic, strong) NSString *total_alarm_devices;
@property (nonatomic, strong) NSString *total_devices;
@property (nonatomic, strong) NSString *total_early_warning_devices;
@property (nonatomic, strong) NSString *total_rows;
@property (nonatomic, strong) NSString *total_trouble_devices;
@property (nonatomic, strong) NSMutableArray<DeviceStatisticsModel *> *device_statistics_list;
@end

@interface ReportDeviceModel : NSObject
@property (nonatomic, strong) NSString *efairyproject_id;
@property (nonatomic, strong) NSString *efairyproject_name;
@property (nonatomic, assign) NSInteger efairyproject_security_score;
@property (nonatomic, strong) NSString *efairyproject_user_name;
@property (nonatomic, strong) NSString *efairyproject_user_phonenumber;
@property (nonatomic, strong) ReportDeviceListModel *efairyproject_device_statistics;

@end

@interface ReportDeviceAlarmModel : NSObject<YYModel>
@property(nonatomic,assign) NSInteger total_rows;
@property(nonatomic,strong) NSMutableArray<ReportDeviceModel *> *efairyreport_project_list;
@end

NS_ASSUME_NONNULL_END
